package com.moyu.article.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.moyu.article.domain.report.Report;
import com.moyu.article.domain.report.dto.ReportQueryDTO;
import com.moyu.article.domain.report.vo.ReportVO;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * @Author 赵彦博
 * @Date 2025/3/30 12:31
 */
@Mapper
public interface ReportMapper extends BaseMapper<Report> {
    List<ReportVO> getReportList(ReportQueryDTO reportQueryDTO);

    int handleReport(String reportId, int state);

    String getPostIdByReportId(String reportId);
}
